package com.jgsu.farm.exception;

/**
 * @program: farm-10-14-2019
 * @description: 数据不存在异常
 * @author: Mr.zuo
 * @create: 2019-12-06 18:54
 **/

public class DataNotExistException extends RuntimeException {
    private String code;
    private String message;
    public DataNotExistException(String code, String message) {
        this.code = code;
        this.message = message;
    }

          public String getCode() {
              return code;
          }
          public void setCode(String code) {
              this.code = code;
          }

          @Override
          public String getMessage() {
              return message;
          }
          public void setMessage(String message) {
              this.message = message;
          }
}
